package stu.khy.ssm.entity;

import java.util.Date;

public class AppCategory {

	/** 主键ID */
    private int id ;
    /** 分类编码 */
    private String categorycode ;
    /** 分类名称 */
    private String categoryname ;
    /** 父级节点id */
    private int parentid ;
    /** 创建者（来源于backend_user用户表的用户id） */
    private int createdby ;
    /** 创建时间 */
    private Date creationtime ;
    /** 更新者（来源于backend_user用户表的用户id） */
    private int modifyby ;
    /** 最新更新时间 */
    private Date modifydate ;
	public void setId(int id) {
		this.id = id;
	}
	public void setCategorycode(String categorycode) {
		this.categorycode = categorycode;
	}
	public void setCategoryname(String categoryname) {
		this.categoryname = categoryname;
	}
	public void setParentid(int parentid) {
		this.parentid = parentid;
	}
	public void setCreatedby(int createdby) {
		this.createdby = createdby;
	}
	public void setCreationtime(Date creationtime) {
		this.creationtime = creationtime;
	}
	public void setModifyby(int modifyby) {
		this.modifyby = modifyby;
	}
	public void setModifydate(Date modifydate) {
		this.modifydate = modifydate;
	}
	public AppCategory(int id, String categorycode, String categoryname, int parentid, int createdby, Date creationtime,
			int modifyby, Date modifydate) {
		super();
		this.id = id;
		this.categorycode = categorycode;
		this.categoryname = categoryname;
		this.parentid = parentid;
		this.createdby = createdby;
		this.creationtime = creationtime;
		this.modifyby = modifyby;
		this.modifydate = modifydate;
	}
	public AppCategory() {
		super();
	}
	@Override
	public String toString() {
		return "AppCategory [id=" + id + ", categorycode=" + categorycode + ", categoryname=" + categoryname
				+ ", parentid=" + parentid + ", createdby=" + createdby + ", creationtime=" + creationtime
				+ ", modifyby=" + modifyby + ", modifydate=" + modifydate + "]";
	}
    
}
